home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat8 / gcd.8 < prev    next >
Text File  |  1999-09-16  |  520b  |  67 lines

  1.  
  2.  
  3.  
  4. gcd(8)                         Scilab Function                         gcd(8)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   gcd - gcd calculation
  13.  
  14. CALLING SEQUENCE
  15.   [pgcd,U]=gcd(p)
  16.  
  17. PARAMETERS
  18.  
  19.   p    : polynomial row vector p=[p1,..,pn]
  20.  
  21. DESCRIPTION
  22.   [pgcd,u]=gcd(p) computes the gcd  of components of p and a unimodular
  23.   matrix (with polynomial inverse) U, with minimal degree such that
  24.  
  25.   p*U=[0 ... 0 pgcd]
  26.  
  27. EXAMPLE
  28.   s=poly(0,'s');
  29.   p=[s,s*(s+1)^2,2*s^2+s^3];
  30.   [pgcd,u]=gcd(p);
  31.   p*u
  32.  
  33. SEE ALSO
  34.   bezout, bez
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.